package com.yra.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @Author: yrq
 * @Date: Create in 10:53 2019/12/12
 */
public class MallUser {
    private int userId;
    private String userName;
    private String userNumber;
    private String password;
    private int lockedFlag;
    private int onLineFlag;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getLockedFlag() {
        return lockedFlag;
    }

    public void setLockedFlag(int lockedFlag) {
        this.lockedFlag = lockedFlag;
    }

    public int getOnLineFlag() {
        return onLineFlag;
    }

    public void setOnLineFlag(int onLineFlag) {
        this.onLineFlag = onLineFlag;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "MallUser{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userNumber='" + userNumber + '\'' +
                ", password='" + password + '\'' +
                ", lockedFlag=" + lockedFlag +
                ", onLineFlag=" + onLineFlag +
                ", createTime=" + createTime +
                '}';
    }
}
